const faker = require('@faker-js/faker');
faker.locale = 'zh_CN';

import { Injectable } from '@nestjs/common';

@Injectable()
export class AppService {
  getHello(): any {
    return {
      addressCode: faker.address.zipCode(),
      city: faker.address.city(),
      image: faker.image.imageUrl(),
      name: faker.name.findName(),
      jobTitle: faker.name.jobTitle(),
      phone: faker.phone.phoneNumber(),
    };
  }
}
